package com.example.myshopping3.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.java.Log;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tbl_book")
public class Book implements Serializable {
  @TableId(value = "book_id",type = IdType.ASSIGN_ID)
    private Long bookId;
    private String bookName;
    private Double bookPrice;
    private String bookImage;
    private String bookDesc;
    private Integer bookIsDisplay;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    private Integer isDeleted;

}
